//
//  NSNumber+Reform.h
//  YiJuZhangShou2.0
//
//  Created by 冷悦 on 16/4/12.
//  Copyright © 2016年 Mr.X. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSNumber (Reform)

/**
 *  将婚姻状态String转化为相应integer
 *
 *  @param isMarray 是否婚姻状态的字符串
 *
 *  @return 婚姻状态的integer
 */
+ (NSNumber *)isMarrayWithString:(NSString *)isMarray;

/**
 *  将车位字符串转化为相应integer
 *
 *  @param carState 车位字符串
 *
 *  @return 车位integer
 */
+ (NSNumber *)carStateWithString:(NSString *)carState;

+ (NSNumber *)decorateStateWithString:(NSString *)decorateState;

+ (NSNumber *)directionStateWithString:(NSString *)directionState;

+ (NSNumber *)carParkinglotStateWithString:(NSString *)carParkinglotState;

@end
